import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';

import get from '@dfeidao/atom-web/local/get';
export default async function a009(fd: IFeidaoAiBrowserComponent, args: { currentTarget: HTMLElement }) {
	// 收起评论回复
	const comment_numbering = get(fd, 'comment_numbering');
	fd.data.node.querySelector<HTMLDivElement>('[data-comment="close-review-' + comment_numbering + '"]').classList.add('display-n');
	fd.data.node.querySelector<HTMLDivElement>('[data-comment="open-review-' + comment_numbering + '"]').classList.remove('display-n');
}
